﻿//loading Msg
function showLoading()
{
    $.blockUI({
        message: "<img src='/res/img/loading.gif'/>",
        css: {
            border: 'none',
            padding: '15px',
            left: ($(window).width() - 300) / 2 + 'px',
            width: '300px',
            textAlign: 'center',
            backgroundColor: '#000',
            opacity: .5,
            color: '#fff',
            cursor: 'wait',
            fadeOut: 100
        },
        overlayCSS: {
            backgroundColor: 'white',
            opacity: 0.5
        },

        centerX: true,
        centerY: true
    });
}
//BlockUI 닫기
function endLoading()
{
    $.unblockUI();
}